Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NUIThemeMap<TEnum,TValue> Class / GetEnumValue Method


In This Topic
    GetEnumValue Method
    In This Topic
    Gets the value associated with the given enum key. Returns a default value if the given key does not exist in the map.
    Syntax
    'Declaration
     
    
    Protected Friend Function GetEnumValue( _
       ByVal key As TEnum _
    ) As TValue
    'Usage
     
    
    Dim instance As NUIThemeMap(Of TEnum,TValue)
    Dim key As TEnum
    Dim value As TValue
     
    value = instance.GetEnumValue(key)
    protected internal TValue GetEnumValue( 
       TEnum key
    )

    Parameters

    key

    Return Value

    The value associated with the given enum key or a default value if no such key exists in the map.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also